﻿<UserControl x:Class="VmroleAuthor.Views.SqlScriptView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignWidth="900">
    <Grid VerticalAlignment="Top" ShowGridLines="False">
        <Grid.RowDefinitions >
            <RowDefinition Height="6" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />           
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="6"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="6"/>
        </Grid.ColumnDefinitions>

        <!-- Application Payload Id-->
        <Label Grid.Row="1" Grid.Column="0" >Sql Script Payload</Label>
        <ContentControl Grid.Row="1" Grid.Column="2" Content="{Binding Path= SqlScriptPackage}" />


        <!-- DatabaseName -->
        <Label  Grid.Row="2" Grid.Column="0" >DatabaseName</Label>
        <ContentControl Grid.Row="2" Grid.Column="2" Content="{Binding Path=DatabaseName}" />

        <!-- DeploymentOrder -->
        <Label  Grid.Row="3" Grid.Column="0" >Deployment Order</Label>
        <ContentControl Grid.Row="3" Grid.Column="2" Content="{Binding Path=DeploymentOrder}" />

        <!--CommandParameters -->
        <Label  Grid.Row="4" Grid.Column="0" >CommandParameters</Label>
        <ContentControl Grid.Row="4" Grid.Column="2" Content="{Binding Path=CommandParameters}" />

        <!--EncryptConnection -->
        <Label  Grid.Row="5" Grid.Column="0" >EncryptConnection</Label>
        <ContentControl Grid.Row="5" Grid.Column="2" Content="{Binding Path=EncryptConnection}" />

        <!--ExecutionTimeoutSeconds -->
        <Label  Grid.Row="6" Grid.Column="0" >ExecutionTimeoutSeconds</Label>
        <ContentControl Grid.Row="6" Grid.Column="2" Content="{Binding Path=ExecutionTimeoutSeconds}" />

        <!--LoginTimeoutSeconds -->
        <Label  Grid.Row="7" Grid.Column="0" >LoginTimeoutSeconds</Label>
        <ContentControl Grid.Row="7" Grid.Column="2" Content="{Binding Path=LoginTimeoutSeconds}" />

        <!--OutputFilePath  -->
        <Label  Grid.Row="8" Grid.Column="0" >OutputFilePath</Label>
        <ContentControl Grid.Row="8" Grid.Column="2" Content="{Binding Path=OutputFilePath}" />

        <!--SQLAuthenticationType  -->
        <Label  Grid.Row="9" Grid.Column="0" >SQLAuthenticationType</Label>
        <ContentControl Grid.Row="9" Grid.Column="2" Content="{Binding Path=SQLAuthenticationType}" />

        <!--ScriptCredential  -->
        <Label  Grid.Row="10" Grid.Column="0" >ScriptCredential</Label>
        <ContentControl Grid.Row="10" Grid.Column="2" Content="{Binding Path=ScriptCredential}" />       

        <!--ScriptType  -->
        <Label  Grid.Row="11" Grid.Column="0" >ScriptType</Label>
        <ContentControl Grid.Row="11" Grid.Column="2" Content="{Binding Path=ScriptType}" />      

    </Grid>    
</UserControl>
